package com.link.base.base.stocksellstorage.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 */
public class StorageProd extends BasicModel {
    /**产品ID*/
    private Long prodId;
    /**产品*/
    private String prodName;
    /**最大值*/
    private String prodNumMax;
    /**最小值*/
    private String prodNumMin;
    /**仓库ID*/
    private Long invlocId;
    /**库存(为库存量之和)*/
    private Double sumQty;
    /**客户Id*/
    private Long accntId;
    /** 产品图片URL*/
    private String prodBigImgUrl;
    /** 产品压缩图片URL*/
    private String prodSmallImgUrl;
    /** 产品单位*/
    private String prodUnit;
    /**盘点数量(用于前端传参，保存在库存流水表上)*/
    private String stockQty;
    /**产品编码*/
    private String prodCode;
    /**盘点单的头ID*/
    private Long stocktakingId;
    /**流水交易的头ID*/
    private Long transactionId;
    /**库存List*/
    private List<StorageProdBalance> balanceList;

    public Long getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Long transactionId) {
        this.transactionId = transactionId;
    }

    public Long getStocktakingId() {
        return stocktakingId;
    }

    public void setStocktakingId(Long stocktakingId) {
        this.stocktakingId = stocktakingId;
    }

    public String getProdCode() {
        return prodCode;
    }

    public void setProdCode(String prodCode) {
        this.prodCode = prodCode;
    }

    public String getStockQty() {
        return stockQty;
    }

    public void setStockQty(String stockQty) {
        this.stockQty = stockQty;
    }

    public String getProdBigImgUrl() {
        return prodBigImgUrl;
    }

    public void setProdBigImgUrl(String prodBigImgUrl) {
        this.prodBigImgUrl = prodBigImgUrl;
    }

    public String getProdSmallImgUrl() {
        return prodSmallImgUrl;
    }

    public void setProdSmallImgUrl(String prodSmallImgUrl) {
        this.prodSmallImgUrl = prodSmallImgUrl;
    }

    public String getProdUnit() {
        return prodUnit;
    }

    public void setProdUnit(String prodUnit) {
        this.prodUnit = prodUnit;
    }

    public Long getAccntId() {
        return accntId;
    }

    public void setAccntId(Long accntId) {
        this.accntId = accntId;
    }

    public Double getSumQty() {
        return sumQty;
    }

    public void setSumQty(Double sumQty) {
        this.sumQty = sumQty;
    }

    public List<StorageProdBalance> getBalanceList() {
        return balanceList;
    }

    public void setBalanceList(List<StorageProdBalance> balanceList) {
        this.balanceList = balanceList;
    }

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProdNumMax() {
        return prodNumMax;
    }

    public void setProdNumMax(String prodNumMax) {
        this.prodNumMax = prodNumMax;
    }

    public String getProdNumMin() {
        return prodNumMin;
    }

    public void setProdNumMin(String prodNumMin) {
        this.prodNumMin = prodNumMin;
    }

    public Long getInvlocId() {
        return invlocId;
    }

    public void setInvlocId(Long invlocId) {
        this.invlocId = invlocId;
    }

    @Override
    public String toString() {
        return "StorageProd [prodId=" + prodId + ", prodName=" + prodName + ", prodNumMax=" + prodNumMax
                + ", prodNumMin=" + prodNumMin + ", invlocId=" + invlocId + "]";
    }
}
